package com.zz.common

import java.util.UUID

import com.zz.idl._
import com.zz.ady.idl.IdType

trait ZidStorage[F[_], I] {

  def storeIdBundleWithZid(in: ZidIndex): F[Unit]

  def storeIdBundleWithoutZid(in: ZidIndex): F[I]

  def queryZids(`type`: IdType, id: String): F[List[I]]

  def findBundleByZid(id: I): F[Option[ZidIndex]]

}
